package la.iok.hzsvn.lewin.movie.operation.mapper;

import la.iok.hzsvn.lewin.movie.operation.entity.ChargeOrder;
import la.iok.hzsvn.lewin.mybatis.mapper.BaseMapper;
import la.iok.hzsvn.share.annotations.NotNull;
import la.iok.hzsvn.share.annotations.Nullable;

import java.util.Date;
import java.util.List;

public interface ChargeOrderMapper extends BaseMapper<ChargeOrder> {
    int update(ChargeOrder entity);

    List<ChargeOrder> list(@NotNull String orderColumn, @NotNull String order, @Nullable List<Long> orgUnitIds,Long roomId,@Nullable Long userId);

    Integer total(@NotNull Date start, @NotNull Date end, @Nullable List<Long> orgUnitIds);
}
